package com.itheima.autoconfigure;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class RedisSpringBootAutoconfigureApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(RedisSpringBootAutoconfigureApplication.class, args);
		Object jedis = context.getBean("jedis");
		System.out.println(jedis);
	}

}
